package com.kuang.demo.vo;

import lombok.Data;

import java.util.List;

/**
 * Created by 郭浩 on 2020/11/3 9:03
 */
@Data
public class QueryIssueVO {

    /**
     * total : 1
     * items : [{"id":37,"question":"测试","answer":"问题测试","addTime":"2020-11-01 17:33:04","updateTime":"2020-11-01 17:33:04","deleted":false}]
     */

    private int total;
    private List<ItemsBean> items;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * id : 37
         * question : 测试
         * answer : 问题测试
         * addTime : 2020-11-01 17:33:04
         * updateTime : 2020-11-01 17:33:04
         * deleted : false
         */

        private int id;
        private String question;
        private String answer;
        private String addTime;
        private String updateTime;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getQuestion() {
            return question;
        }

        public void setQuestion(String question) {
            this.question = question;
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }
}
